package com.xuan.oath.client.api.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author Lenovo
 * @description: TODO 资源路径实体类对象
 * @date 2021/7/26 10:14
 */
@Data
@TableName("resource")
public class Resource {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String url;

    private String role;

    private Date creatDate;

    private Date updateDate;

    @TableLogic(value = "1",delval = "0")
    private Integer del;
}
